import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import { Button,Menu,Breadcrumb,Tooltip,Form,Modal,Input,Message,Spin,Notification,Popconfirm,Table,Select } from 'ant-design-vue';
Vue.prototype.$message=Message
import loading from '@/components/loading.js' // 引入loading
Vue.use(Button).use(Menu).use(Breadcrumb).use(Tooltip).use(Form).use(Modal).use(Input).use(Message).use(Spin).use(Notification).use(Popconfirm).use(Table).use(Select)
// 自定义lodin

Vue.use(loading) // 全局使用loading
import jEllipsis from '@/components/j-ellipsis'
Vue.component('jEllipsis', jEllipsis)
Vue.config.productionTip = false;
Vue.prototype.$form = Form
Vue.prototype.$notification = Notification
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
